package com.example.common.controller;

import com.example.common.utils.R;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class BaseController {
    /**
     * 微服务的心跳接口
     * @return
     */
    public R heartbeat() {
        return R.ok()
                .put("time", System.currentTimeMillis());
    }
}
